package com.ytjj.qmyx.data.mapper;


import java.util.List;

import com.ytjj.qmyx.data.model.ProductCopyHistory;
import com.ytjj.qmyx.data.model.ProductCopyHistoryExample;
import org.apache.ibatis.annotations.Param;

public interface ProductCopyHistoryMapper {
    long countByExample(ProductCopyHistoryExample example);

    int deleteByExample(ProductCopyHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductCopyHistory record);

    int insertSelective(ProductCopyHistory record);

    List<ProductCopyHistory> selectByExampleWithBLOBs(ProductCopyHistoryExample example);

    List<ProductCopyHistory> selectByExample(ProductCopyHistoryExample example);

    ProductCopyHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductCopyHistory record, @Param("example") ProductCopyHistoryExample example);

    int updateByExampleWithBLOBs(@Param("record") ProductCopyHistory record, @Param("example") ProductCopyHistoryExample example);

    int updateByExample(@Param("record") ProductCopyHistory record, @Param("example") ProductCopyHistoryExample example);

    int updateByPrimaryKeySelective(ProductCopyHistory record);

    int updateByPrimaryKeyWithBLOBs(ProductCopyHistory record);

    int updateByPrimaryKey(ProductCopyHistory record);
}